#include <stdio.h>

#include <string.h>


int main()
{

    int sum = 0;
    int i = 0;
    for(; i <= 100; i++)
    {
        sum += i;
    }
    printf("sum = %d\n", sum);

    sum = 0;
    i = 0;

loop:
    sum += i++;
    if(i <= 100)
    {
        goto loop;
    }
    printf("sum2 = %d\n", sum);
    return 0;
}